body {
    background-image: url(../img/background.png);
}
.search-input {
    width: 400px;
    height: 40px;
    border: 3px solid blue;
    border-radius: 20px;
    box-sizing: border-box;
    outline: none;
    /* text-indent 属性能定义一个块元素首行文本内容之前的缩进量。 */
    text-indent: 15px;
}

.search-btn {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 50px;
    background: blue;
    vertical-align: middle;
    outline: none;
    color: white;
    font-size: 20px;
}

#search {
    width: 505px;
    height: 300px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

h1 {
    font-size: 50px;
    line-height: 170px;
    height: 200px;
    text-align: center;
    font-weight: 900;
    color: pink;
    font-family: "楷体"
}

#weather {
    color: blue;
    width: 350px;
    height: 100px;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* 选中的是没有访问过的a元素 */
#weather a:link {
    color: pink;
}
/* 选中的是访问过的a元素 */
#weather a:visited {
    color: black;
}
/* 选中的是鼠标悬浮状态的a元素 */
#weather a:hover {
    color: blue;
    text-decoration: underline;
}

#weather a {
    text-decoration: none;
}